

package com.loong.loong.hik.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 终端预留节目
 *
 * @author 终端预留节目
 * @date 2023-04-23 10:34:17
 */
@Data
@TableName("hik_cdc_reserve_program")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "终端预留节目")
public class HikCdcReserveProgram extends Model<HikCdcReserveProgram> {

    private static final long serialVersionUID = 1L;

    /**
     * 预留节目id
     */
	@TableId(value="id",type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="预留节目id")
    private Integer id;

    /**
     * 终端id
     */
    @ApiModelProperty(value="终端id")
    private Integer deviceId;

    /**
     * 节目名称
     */
    @ApiModelProperty(value="节目名称")
    private String name;

    /**
     * 节目id
     */
    @ApiModelProperty(value="节目id")
    private String programId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
	@TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value="更新时间")
	@TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    /**
     * 操作人
     */
    @ApiModelProperty(value="操作人")
	@TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
	@TableField(exist = false )
    private String startTime;
	@TableField(exist = false )
    private String endTime;
	@TableField(exist = false )
    private String likeName;
	@TableLogic
	@TableField(fill = FieldFill.INSERT)
	private String delFlag;

}
